#ifndef _FV_CONFIG_H_
#define _FV_CONFIG_H_


#ifdef NDEBUG
#elif defined(DEBUG) || defined(_DEBUG)
#  ifndef FV_DEBUG
#   define FV_DEBUG 1
#  endif
//# endif
#endif

// If the viewer must be statically linked
#ifdef MOD_FEM_VIEWER
# ifndef _USE_FV_LIB
#   define _USE_FV_LIB	1
# endif
#endif

// Allow to use IOManager
#ifndef _USE_FV_LIB
#  ifndef _USE_FV_IO_MGR
#    define _USE_FV_IO_MGR 1
#  endif
#endif

// Allow to use external modules
#ifndef _USE_FV_LIB
#  ifndef _USE_FV_EXT_MOD
#    define _USE_FV_EXT_MOD 1
#  endif
#endif

// some defines
#ifndef APC_MAXELP_COMP 
#  define APC_MAXELP_COMP 7
#endif

#ifndef APC_MAXELP_TENS
#  define APC_MAXELP_TENS 707
#endif

#ifndef _USE_FV_LIB
extern const char* dgDllName;
extern const char* stdDllName;
extern const char* stdDll2dName;
extern const char* stdhDllName;
#endif

/* Graphics module type */
//#define _USE_FV_WX 1
const int imageWidth  = 512;
#define DFLT_IMAGE_WIDTH 	512
const int imageHeight = 512;
#define DFLT_IMAGE_HEIGHT	512
// GUI interface
//#if defined(WIN32) && defined(VIEWER_WIN_GUI)
//# include "win/Common.h"
//# include "win/WinApp.h"
//#elif defined(VIEWER_FGLT_GUI)
//# include "glt/GlutWindow.h"
//#elif defined(VIEWER_WX_GUI)
//# include "wx/wxFemViewerApp.h"
//#else
//# error "Unknown GUI-type"
//#endif


/* Define application name */
#define MOD_FEM_VIEWER_NAME "MOD_FEM_VIEWER"

#endif



